using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using ServiceDeclaration;
using ServiceImplementation;

namespace Host.Inject.IoC
{
    public class ServicesInstaller : IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(Component.For<IApplicationService>().ImplementedBy<ApplicationService>());
            container.Register(Component.For<IApplicationManager>().ImplementedBy<ApplicationManager>());
        }
    }
}